package cn.wonderland.org.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminDto {

    /*员工名字*/
    @NotBlank(message = "名字不能为空！")
    private String username;
    /*员工电话*/
    @NotBlank(message = "电话不能为空！")
    private String phone;
    /*员工邮箱*/
    @NotBlank(message = "邮箱不能为空！")
    private String email;
    /*员工密码*/
    @NotBlank(message = "密码不能为空！")
    private String password;
    /*二次密码*/
    @NotBlank(message = "二次密码不能为空！")
    private String comfirmPassword;

}
